1 <?php
2 include(
"header.php");
3 include(
"sidebar.php");
4 include(
"dbconnection.php");
5 ?>
6 <?php
7 $sql = mysql_query(
"select * from vehiclestore where vehicleid='$_GET[vehicleid]'");
8 $row = mysql_fetch_array($sql);
9 ?>
10         
11                             
12         <div id=
"main">
13             
14             <a name=
"TemplateInfo"></a>
15             <h1>View More</h1>
16         <form action=
"viewvehiclestore.php" method="post" name="form1" id="form1">
17             <table width=
"500", border="0">
18                 <th width=
"169" height="33" scope="row">Employee Name</th>
19                 <td width=
"140">
20                   <label
for="fname"></label>
21                   <label
for="custname"></label>
22                   <label
for="sparename"></label>
23                   <label
for="vehname2"></label>
24                   <label
for="empname"></label>
25                   <?php
26                   $result = mysql_query(
"select fname from employee where employeeid='$row[empid]'");
27                   $res = mysql_fetch_array($result);
28                   ?>
29                <?php echo $res[
'fname']; ?></td>
30               </tr>
31               <tr>
32                 <th height=
"33" scope="row">Vehicle Name
33                   <label
for="lname"></label></th>
34                 <td><label
for="vehname"></label>
35                   <label
for="sparetype"></label>
36                   <label
for="vehname3"></label>
37                 <?php echo $row[
'vehname']; ?></td>
38               </tr>
39               <tr>
40                 <th height=
"28" scope="row">Model</th>
41                 <td><p>
42                   <label
for="email"></label>
43                   <label
for="model"></label>
44                   <label
for="vehicleno"></label>
45                   <label
for="spareno"></label>
46                   <label
for="sparename2"></label>
47                   <label
for="model2"></label>
48                   <?php echo $row[
'model']; ?>
49                 </td>
50               </tr>
51               <tr>
52                 <th height=
"31" scope="row">Brand</th>
53                 <td><label
for="password"></label>
54                   <label
for="date"></label>
55                   <label
for="description"></label>
56                   <label
for="brand"></label>
57                  <?php echo $row[
'brand']; ?></td>
58               </tr>
59               <tr>
60                 <th height=
"36" scope="row">Image</th>
61                 <td><label
for="confpass"></label>
62                   <label
for="images"></label>
63                   <label
for="address"></label>
64                   <label
for="image"></label>
65                   <label
for="images2"></label>
66                   <label
for="images3"></label>
67                   <label
for="file"></label>
68                    <img src=
"upload/<?php echo $row['images']; ?>" width="150" height="150" />
69               </tr>
70               <tr>
71                 <th height=
"33" scope="row">Estimated Price</th>
72                 <td><label
for="estprice"></label>
73                  <?php echo $row[
'estprice']; ?></td>
74               </tr>
75                <tr>
76                 <th height=
"33" scope="row">Description</th>
77                 <td><label
for="estprice"></label>
78                  <?php echo $row[
'description']; ?></td>
79               </tr>
80                <tr>
81                 <th height=
"33" scope="row">Status</th>
82                 <td><label
for="estprice"></label>
83                  <?php echo $row[
'status']; ?></td>
84               </tr>
85               <tr>
86                 <th scope=
"row">&nbsp;</th>
87                 <td><input type=
"submit" name="submit" id="submit" value="Back" /></td>
88               </tr>
89           </table>
90 </form>
91             <p>&nbsp;</p>
92 <br />
93                                             
94         </div>
95         
96 <!-- wrap ends here -->
97 </div>
98         
99 <?php
100 include(
"footer.php");
101 ?>


Gõ tìm kiếm nhanh...